﻿//Created by Action Script Viewer - http://www.buraks.com/asv
package org.aswing.event {
    import flash.events.*;

    public class SelectionEvent extends InteractiveEvent {

        public static const LIST_SELECTION_CHANGED:String = "listSelectionChanged";
        public static const ROW_SELECTION_CHANGED:String = "rowSelectionChanged";
        public static const COLUMN_SELECTION_CHANGED:String = "columnSelectionChanged";

        private var firstIndex:int;
        private var lastIndex:int;

        public function SelectionEvent(_arg1:String, _arg2:int, _arg3:int, _arg4:Boolean){
            super(_arg1, _arg4);
            this.firstIndex = _arg2;
            this.lastIndex = _arg3;
        }
        public function getFirstIndex():int{
            return (this.firstIndex);
        }
        public function getLastIndex():int{
            return (this.lastIndex);
        }
        override public function clone():Event{
            return (new SelectionEvent(type, this.firstIndex, this.lastIndex, isProgrammatic()));
        }

    }
}//package org.aswing.event 
